//
//  RegisterCollectionViewCell.m
//  HarmonizePub
//
//  Created by rzhy on 2016/11/8.
//  Copyright © 2016年 Zy. All rights reserved.
//

#import "RegisterCollectionViewCell.h"
#import "Config.h"

@interface RegisterCollectionViewCell ()

@property (weak, nonatomic) IBOutlet UIImageView *stateImageView;


@end

@implementation RegisterCollectionViewCell

+ (NSString *)registerName {
    return @"RegisterCollectionViewCell";
}

+ (CGFloat)itemHeight {
    return 44.0f;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setIsSelectState:(BOOL)isSelectState {
    _isSelectState = isSelectState;
    self.stateImageView.hidden = !isSelectState;
}

- (void)setCellShowDataWithDataDictionary:(NSDictionary *)dataDict {
//    XHLog(@"%@", dataDict)
//    NSDate *date = [dataDict[@"jzrq"] dateStringWithFormat:@"yyyyMMdd"];
//    NSString *weekday = [NSString stringWeekdayWithFromDate:date weekType:WeekdayDateStringTypeZhou];
//    NSString *time = [NSString stringAnalysisWithDate:date format:@"MM-dd"];
    self.titleLabel.text = [NSString stringWithFormat:@"%@", dataDict[@"time"]];
}

@end

